<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<th:block th:include="common/common::common('修改字典类型表')"/>
<script src="/static/base/dict/type/edit.js" charset="utf-8"></script>
</head>
<body>

<form class="layui-form layui-form-pane" id="editBaseDictTypeForm" th:object="${baseDictType}">
    <div class="layui-form-body">
        <div class="layui-form-item">
            <label for="dictName" class="layui-form-label">字典名称 <span style="color: red">*</span></label>
            <div class="layui-input-block">
                <input type="text" lay-verify="required" id="dictName" autocomplete="off" name="dictName"
                       th:field="*{dictName}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label for="dictType" class="layui-form-label">字典类型 <span style="color: red">*</span></label>
            <div class="layui-input-block">
                <input type="text" lay-verify="required" id="dictType" autocomplete="off"
                       name="dictType" readonly
                       th:field="*{dictType}" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label for="remark" class="layui-form-label" style="margin-bottom: 0;">描述</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入描述" th:utext="*{remark}" autocomplete="off" id="remark" name="remark"
                          class="layui-textarea"></textarea>
            </div>
        </div>
        <input type="text" th:value="*{id}" id="id" name="id" style="visibility: hidden;">
    </div>
    <div class="form-footer">
        <button type="button" class="button-sub" lay-submit lay-filter="editBaseDictType">提交</button>
        <button type="button" class="button-close" id="buttonClose">关闭</button>
    </div>
</form>

</body>
</html>